import request from '@/utils/request'

// 查询交易分发记录列表
export function listPlatOrderPushRecord(query) {
  return request({
    url: '/bus/platOrderPushRecord/list',
    method: 'get',
    params: query
  })
}

// 查询交易分发记录详细
export function getPlatOrderPushRecord(id) {
  return request({
    url: '/bus/platOrderPushRecord/' + id,
    method: 'get'
  })
}

// 新增交易分发记录
export function addPlatOrderPushRecord(data) {
  return request({
    url: '/bus/platOrderPushRecord',
    method: 'post',
    data: data
  })
}

// 修改交易分发记录
export function updatePlatOrderPushRecord(data) {
  return request({
    url: '/bus/platOrderPushRecord',
    method: 'put',
    data: data
  })
}

// 删除交易分发记录
export function delPlatOrderPushRecord(id) {
  return request({
    url: '/bus/platOrderPushRecord/' + id,
    method: 'delete'
  })
}
